/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.spareparts.material.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.modules.spareparts.material.entity.SparepartsScrapAudit;
import com.jeeplus.modules.spareparts.material.mapper.SparepartsScrapAuditMapper;

/**
 * 报废备件审核Service
 * @author 王洋
 * @version 2020-10-16
 */
@Service
@Transactional(readOnly = true)
public class SparepartsScrapAuditService extends CrudService<SparepartsScrapAuditMapper, SparepartsScrapAudit> {


	public SparepartsScrapAudit get(String id) {
		SparepartsScrapAudit sparepartsScrapAudit = super.get(id);
		return sparepartsScrapAudit;
	}

	public List<SparepartsScrapAudit> findList(SparepartsScrapAudit sparepartsScrapAudit) {
		return super.findList(sparepartsScrapAudit);
	}

	public Page<SparepartsScrapAudit> findPage(Page<SparepartsScrapAudit> page, SparepartsScrapAudit sparepartsScrapAudit) {
		return super.findPage(page, sparepartsScrapAudit);
	}

	@Transactional(readOnly = false)
	public void save(SparepartsScrapAudit sparepartsScrapAudit) {
		super.save(sparepartsScrapAudit);
	}

	@Transactional(readOnly = false)
	public void delete(SparepartsScrapAudit sparepartsScrapAudit) {
		super.delete(sparepartsScrapAudit);
	}

}